package cn.tedu.ivos.dictoption.pojo.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;

@Data
public class DictOptionSaveParam {
    @Schema(description = "字典项ID")
    private Long id;
    @Schema(description = "字典项标签")
    @NotBlank(message = "字典项标签不能为空")
    private String label;
    @Schema(description = "字典项值")
    @NotBlank(message = "字典项值不能为空")
    private String value;
    @Schema(description = "排序序号")
    @NotBlank(message = "排序序号不能为空")
    private Integer sort;
    @Schema(description = "备注")
    private String remark;
    @Schema(description = "字典ID")
    private Long dictId;
}
